package com.cui.project.service;


import com.api.common.model.entity.UserInterfaceInfo;
import com.baomidou.mybatisplus.extension.service.IService;


/**
* @author 86176
* @description 针对表【user_interface_info(用户调用接口关系)】的数据库操作Service
* @createDate 2024-09-26 11:22:31
*/
public interface UserInterfaceInfoService extends IService<UserInterfaceInfo> {
    void validUserInterfaceInfo(UserInterfaceInfo userInterfaceInfo, boolean add);

    /**
     * 调用接口统计
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    int invokeCount(long interfaceInfoId,long userId);
}
